//
//  hmcLastCollectionViewCell.m
//  subsidy
//
//  Created by 洪闽程 on 2018/11/12.
//  Copyright © 2018年 洪闽程. All rights reserved.
//

#import "hmcLastCollectionViewCell.h"
#import <UIImageView+WebCache.h>
#import "dataModel.h"
@interface hmcLastCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imageV;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *smallTitleLbl;

@end
@implementation hmcLastCollectionViewCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    
}

-(void)setDatamodel:(dataModel *)datamodel
{
    
    
    [self.imageV sd_setImageWithURL:[NSURL URLWithString:datamodel.url]];
    
    self.titleLabel.text=datamodel.name;
}
@end
